.amap-sug-result {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 300px;
  border-radius: 4px;

  .auto-item {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;

    .auto-item-span {
      color: inherit;
      opacity: 0.5;
    }
  }
}

.amap-pls-marker-tip {
  background: #1e2e3f;

  &:before {
    border-right: 8px solid #1e2e3f;
  }

  &:after {
    border-right: 8px solid #1e2e3f;
  }
}

.amap-overlays,
.amap-layers {
  .amap-info {
    .amap-info-contentContainer {
      .amap-content-body {
        background: #1e2e3f;
        box-shadow: none;
        border: none;
        color: #ffffff;

        .amap-lib-infowindow {
          margin: 0;
          padding: 5px 8px 8px;
          background: #1e2e3f;

          .amap-lib-infowindow-title {
            padding: 0 0 5px;
          }
        }
      }

      .amap-combo-sharp {
        background: none;
        border: 9px solid transparent;
        border-top: 10px solid #1e2e3f;
        border-bottom: none;
      }

      &.bottom-center {
        &:after {
          content: '▼';
          position: absolute;
          left: 50%;
          bottom: -11px;
          transform: translateX(-50%);
          color: rgba(0, 0, 0, 0.5);
          font-size: 18px;
        }
      }
    }
  }
}

.map-custom-pop {
  position: relative;
  background: rgba(0, 0, 0, 0.5);

  .map-custom-pop-header {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 10px 10px 20px;
    line-height: 1;

    .map-custom-pop-header-title {
      flex: auto;
      max-width: 100%;
      color: #ffffff;
      font-size: 20px;
      font-weight: bold;
    }

    .map-custom-pop-header-close {
      flex: none;
      width: 1em;
      text-align: center;
      font-size: 20px;
      color: #ffffff;
      cursor: pointer;
    }
  }

  .map-custom-pop-body {
    min-width: 240px;
    padding: 20px;

    & > p {
      line-height: 1.5;
      font-size: 14px;
    }
  }

  .map-custom-pop-footer {
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
  }
}

.amap-marker-label {
  border: none;
  background: none;
  text-align: center;
  padding: 0;
  font-size: 12px;
  color: #d5d5d5;
  .marker_label {
    border: 1px solid rgba(152, 164, 175, 0.7);
    background: rgba(8, 17, 24, 0.6);
    text-align: center;
    padding: 5px 10px;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
    p {
      line-height: inherit;
      margin: inherit;
    }
    &__name {
      font-size: 18px;
      font-weight: bold;
      color: #a7d5ff;
    }
    &__count {
      margin-top: 5px;
      font-size: 14px;
      font-weight: 400;
      color: #ffffff;
    }
  }
}
